﻿<UserControl  x:Class="WPFExcelReport.Controls.TBTMENU"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
              FontSize="12"
              Name="TV"
     >
    <Grid Margin="5"> 
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Button Grid.Row="0" Command="{Binding NewDocCommand}" CommandParameter="{Binding ElementName=TV,Path=KEY}" Margin="5,0,0,0" Width="100" 
                Background="White"
                Content="{Binding Header,ElementName=TV}"
                />  
    </Grid>
</UserControl >
